Repository navigation
Label the model each turn ran on in the Timeline and each Bot row - #480
Merged
Merged
Conversation
Owner decision on ThinkFlowLab#366 (option a): the first slice only labels models, no gateway. The activity feed's turn.end now carries `model` (provider/model) from the Session's latest request/header, set only when the turn made a model call and never for a friend's Bot chat. The timeline recorder keeps it as `te.md` and a turn bar's tooltip ends with the model id. An own Bot's sidebar row (the tree draws the same row) names its model in the hover text.
Collaborator
Author
|
Self-review: PASS
|
github-merge-queue
Bot
removed this pull request from the merge queue due to a conflict with the base branch
Oct 20, 2026
# Conflicts: # patches/ds-bot/0008-client-bundle.patch
Collaborator
Author
|
Self-review: PASS
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #366
What. The first slice of the Owner decision on #366 (option a: label models, no gateway, no new place for keys):
turn.endcarriesmodel(provider/model, cleaned) from the Session's latestrequest/header, only when the turn made a model call; never for a friend's Bot chat (place: 'remote'). Typed inflybot.d.ts, documented in plugin-runtime.te.md; the read model servesturn.model; a turn bar's tooltip ends with the model id (Chief: 12 s · deepseek-v4-pro).Coder · DeepSeek V4 Pro,botRowTitle+modelOf, moved totext.jsso the bundle order and diff stay small). A friend's Bot row is unchanged.Why. You can see which model each Bot runs on and which model produced each turn, without a gateway or routing.
Test. New feed tests (latest header names the turn, unchanged header carries over, mid-session change, no model without a step, Session
requestHeader()fallback, hostile name cleaned, remote never named), recorder / read-model / panel tests (field kept, malformed dropped, tooltip),botRowTitle/modelOfunit tests and a source check that tree rows use it.ARCH_DOCS_BASE=origin/main TZ=UTC npm run verifypasses (core 1063, social 291, tree 80, timeline 83, scripts 88, interop 37, live-e2e 16; 0 failures). Not run: the smoke bench and live Mac instances.Risk tier: T1 (estimate; the controller sets the label)